31c745e8f2838d3f21701217ddd5f4d62ae4f5d2,modules/samples/connectedcup/component/plugin/src/main/java/org/coffeeking/connectedcup/plugin/impl/dao/impl/ConnectedCupDAOImpl.java,ConnectedCupDAOImpl,getIotDevice,#String#,49

Before Change


							ConnectedCupConstants.DEVICE_PLUGIN_DEVICE_NAME));
					Map<String, String> propertyMap = new HashMap<String, String>();
					propertyMap.put(ConnectedCupConstants.DEVICE_PLUGIN_PROPERTY_ACCESS_TOKEN, resultSet.getString("ACCESS_TOKEN"));
					propertyMap.put(ConnectedCupConstants.DEVICE_PLUGIN_PROPERTY_REFRESH_TOKEN, resultSet.getString("REFRESH_TOKEN"));
					iotDevice.setDeviceProperties(propertyMap);

					if (log.isDebugEnabled()) {

After Change


				propertyList.add(ConnectedCupUtils.getProperty(
						ConnectedCupConstants.DEVICE_PLUGIN_PROPERTY_ACCESS_TOKEN,
						resultSet.getString("ACCESS_TOKEN")));
				propertyList.add(ConnectedCupUtils.getProperty(
						ConnectedCupConstants.DEVICE_PLUGIN_PROPERTY_REFRESH_TOKEN,
						resultSet.getString("REFRESH_TOKEN")));
				connectedCupDevice.setProperties(propertyList);

				if (log.isDebugEnabled()) {